package com.welink.cmp.dto.metadata.vpc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.welink.cmp.dto.CommonCommand;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 创建VPC资产指令
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CreateVpcAddCmd extends CommonCommand {

    private String assetsId; // 资产ID

    private String name; // 名称

    private String sn; // 序列号

    private String vendor; // 厂商

    private String brand; // 品牌

    private Integer dataCenterCode; // 机房CODE

    private LocalDateTime expirationTime; // 过保时间

    private LocalDateTime launchedTime; // 上架时间

    private String refId; // 实例ID

    private String refName; // 实例名称

    private Long accountId; // 账号ID

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime purchaseTime; // 购买时间

}